---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-32-278324abacc7> in <module>()
----> 1 abb.resample('D')['Price'].plot()
2 plt.savefig('hello.jpg')
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/core/groupby.py in __call__(self, *args, **kwargs)
347 return self.plot(*args, **kwargs)
348 f.__name__ = 'plot'
--> 349 return self._groupby.apply(f)
350
351 def __getattr__(self, name):
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/core/groupby.py in apply(self, func, *args, **kwargs)
714 # ignore SettingWithCopy here in case the user mutates
715 with option_context('mode.chained_assignment', None):
--> 716 return self._python_apply_general(f)
717
718 def _python_apply_general(self, f):
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/core/groupby.py in _python_apply_general(self, f)
718 def _python_apply_general(self, f):
719 keys, values, mutated = self.grouper.apply(f, self._selected_obj,
--> 720 self.axis)
721
722 return self._wrap_applied_output(
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/core/groupby.py in apply(self, f, data, axis)
1800 # group might be modified
1801 group_axes = _get_axes(group)
-> 1802 res = f(group)
1803 if not _is_indexed_like(res, group_axes):
1804 mutated = True
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/core/groupby.py in f(self)
345 def __call__(self, *args, **kwargs):
346 def f(self):
--> 347 return self.plot(*args, **kwargs)
348 f.__name__ = 'plot'
349 return self._groupby.apply(f)
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/plotting/_core.py in __call__(self, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)
2451 colormap=colormap, table=table, yerr=yerr,
2452 xerr=xerr, label=label, secondary_y=secondary_y,
-> 2453 **kwds)
2454 __call__.__doc__ = plot_series.__doc__
2455
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/plotting/_core.py in plot_series(data, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)
1892 yerr=yerr, xerr=xerr,
1893 label=label, secondary_y=secondary_y,
-> 1894 **kwds)
1895
1896
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/plotting/_core.py in _plot(data, x, y, subplots, ax, kind, **kwds)
1692 plot_obj = klass(data, subplots=subplots, ax=ax, kind=kind, **kwds)
1693
-> 1694 plot_obj.generate()
1695 plot_obj.draw()
1696 return plot_obj.result
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/plotting/_core.py in generate(self)
241 def generate(self):
242 self._args_adjust()
--> 243 self._compute_plot_data()
244 self._setup_subplots()
245 self._make_plot()
~/.virtualenvs/master/lib/python3.5/site-packages/pandas/plotting/_core.py in _compute_plot_data(self)
350 if is_empty:
351 raise TypeError('Empty {0!r}: no numeric data to '
--> 352 'plot'.format(numeric_data.__class__.__name__))
353
354 self.data = numeric_data
TypeError: Empty 'DataFrame': no numeric data to plot